package com.ruoyi.system.domain.city;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * 资讯对象 city_info
 * 
 * @author cjq
 * @date 2023-10-15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CityInfo implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 资讯ID */
    private Long infoId;

    /** 资讯标题 */
    @Excel(name = "资讯标题")
    private String infoTitle;

    /** 资讯阅读量 */
    @Excel(name = "资讯阅读量")
    private Long viewTime;

    /** 资讯赞次数 */
    @Excel(name = "资讯赞次数")
    private Long supportTime;

    /** 资讯内容 */
    @Excel(name = "资讯图片", width = 15,height = 180,cellType = Excel.ColumnType.IMAGE)
    private String infoUrl;

    /** 资讯内容 */
    @Excel(name = "资讯内容")
    private String infoContent;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
